[NTG-context] Trial to use LibreOffice Calc (+ python) to build ConTeXt customized environnements files

2023-04-10 Thread Garulfo via ntg-context
ont] [cg] [calligraphy] [myfont] [default] \stoptypescript \setuptolerance[strict] \setupalign[hz] \setupalign[hanging] \setupalign[lesshyphenated] \setupalign[verytolerant] \setupalign[stretch] \setupwhitespace [big] \setupbodyfont[myfont,ss,12pt] \definecolor [MaCouleur0] [h=340.0,s=

[NTG-context] Horizontal spacing

2022-11-21 Thread Steffen Wolfrum via ntg-context
Hi, these line can modify the space between words: \installtolerancemethod {horizontal} {MySpace} {\spaceskip2.75pt plus1.60pt minus1.10pt\relax} \setupalign[line,block]\setfalse\raggedonelinerstate% kein hz=expansion mehr? \setuptolerance[MySpace] But how can I adjust in general

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread Hans Hagen via ntg-context
] \definefontfamily [documentfont] [tt] [Noto Sans Mono] \setupbodyfont [documentfont,24pt] \setuppapersize [A4,landscape,rotated,270] [A4,portrait] \setuplayout[middle] \showframe \setuphead [chapter] [numbercolor=darkred, conversion=chinesenumerals] \setuptolerance [verytolerant,stretch

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread Hans Hagen via ntg-context
head, current = flushrange(head,current,first,last) end setlist(box,head) end \stopluacode % % % % % % % % % % \setuptolerance[verytolerant,stretch] \definefont[NotoCJK][NotoSanstc-Regular*default @ 24pt] \setupinterlinespace[40pt] \unexpanded\def\stripe#1{\hbox orientation 0 y

Re: [NTG-context] Count (and limit) glyphs per line?

2022-07-18 Thread Benjamin Buchmuller via ntg-context
trol sequence \crappyspeccount potentially as there is no crappyspec parbuilder yet? \defineparbuilder [crappyspec] % implemented in the builder namespace \defineparbuilder [default] % implemented in the builder namespace \setmainparbuilder[crappyspec] \setuptolerance[verytolerant,stretch] \dontcomplain \

Re: [NTG-context] upload

2022-07-09 Thread Hans Hagen via ntg-context
> 2$ % test $\darkgreen a + b + c + #1 + d + e + f > 2$ % } \stopbuffer \setuptolerance[verytolerant,stretch] \starttext \start \mathforwardpenalties 0 \mathbackwardpenalties 0 \getbuffer \par \stop \page

Re: [NTG-context] interwordspace error after update

2022-06-06 Thread Hans Hagen via ntg-context
On 6/6/2022 8:12 PM, Steffen Wolfrum via ntg-context wrote: with my last ConTeXt ver 2022.01.21 20:31 LMTX (arm64) this work: \startsetups footnotesetup \interwordspace 2.75pt % \setuptolerance[NEUNspace] hat hier keine Wirkung! \interwordstretch 1.7pt \interwordshrink 0.9pt

[NTG-context] interwordspace error after update

2022-06-06 Thread Steffen Wolfrum via ntg-context
Hi, with my last ConTeXt ver 2022.01.21 20:31 LMTX (arm64) this work: \startsetups footnotesetup \interwordspace 2.75pt % \setuptolerance[NEUNspace] hat hier keine Wirkung! \interwordstretch 1.7pt \interwordshrink 0.9pt \setupinterlinespace[line=11pt, height=.79,depth=.21] \lineskiplimit

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-03 Thread Marco Patzer via ntg-context
net/Command_old/setuptolerance ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragm

Re: [NTG-context] Bad linebreak in figure caption

2021-12-03 Thread Denis Maier via ntg-context
ing: > > \setupcaption[figure][align={verytolerant,stretch}] Thanks. Wikified: https://wiki.contextgarden.net/Command/setuptolerance Is there a good reason why captions (as well as e.g. framed texts) don't honour the global tolerance settin

Re: [NTG-context] Bad linebreak in figure caption

2021-12-03 Thread Marco Patzer via ntg-context
On Fri, 3 Dec 2021 09:14:59 +0100 Taco Hoekwater wrote: > Captions have their own alignment setting: > > \setupcaption[figure][align={verytolerant,stretch}] Thanks. Wikified: https://wiki.contextgarden.net/Command/setuptolerance Is there a good reason why captions (as well as e.

[NTG-context] Bad linebreak in figure caption

2021-11-29 Thread Marco Patzer via ntg-context
Hi! The caption "FOO" runs into the right figure's caption: \setuplayout [width=18.4cm] \setuptolerance [verytolerant, stretch] %% even with stretch \starttext \startplacefigure \startfloatcombination \startplacefigure [title=Unexpectedly unnecessary FOO-BA

Re: [NTG-context] body text and footnote space

2021-10-12 Thread jbf via ntg-context
a line or two, so there is a way to handle it, but given ConTeXt's 'perfection' generally, I would be very interested to know if there is any other solution forthcoming. I've tried various options in \setupfootnotes and \setuptolerance', but to no avail. Is this still the case in the latest

Re: [NTG-context] body text and footnote space

2021-10-12 Thread Henning Hraban Ramm via ntg-context
o, so there is a way to handle it, but given ConTeXt's >> 'perfection' generally, I would be very interested to know if there is any >> other solution forthcoming. I've tried various options in \setupfootnotes >> and \setuptolerance', but to no avail. > Is this still the case in the

Re: [NTG-context] body text and footnote space

2021-10-12 Thread Hans Hagen via ntg-context
forthcoming. I've tried various options in \setupfootnotes and \setuptolerance', but to no avail. Is this still the case in the latest version? Hans - Hans Hagen | PRAGMA ADE

[NTG-context] body text and footnote space

2021-10-11 Thread jbf via ntg-context
in \setupfootnotes and \setuptolerance', but to no avail. Julian ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-08-06 Thread Jeroen via ntg-context
. \startbuffer[slides] \setuptolerance[ horizontal, tolerant, stretch] \setuppapersize[ A4,landscape] \setuplayout[ width=middle, backspace=35mm, cutspace=35mm, height=middle, topspace=5mm, bottomspace=20mm] \setuppagenumbering[ location={footer,center}] \setuphead [sec

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Jeroen via ntg-context
I worked around it, instead of simpleslides just use larger fonts to with regular pages \startbuffer[slides] \setuptolerance[ horizontal, tolerant, stretch] \setuppapersize[ A4,landscape] \setuplayout[ width=middle, backspace=35mm, cutspace=35mm, height=middle, topspace=5mm

[NTG-context] setupalign[line]/setupalign[height] break \testpage

2021-05-06 Thread denis.maier
? \setuppapersize[A5][A5] % Activate this and \testpage stops working %\setupalign[height] %\setuptolerance[vertical,stretch] %\setupinterlinespace[ % stretch=0.001, % shrink=0.001, % ] % \showframe \starttext \section{Section} \input knuth\par \input knuth\par \input knuth

[NTG-context] conditionally add \vfill before section if at end of page

2021-05-04 Thread denis.maier
Hi, I'm still playing/struggling with vertical glue to have pages of a constant height. The following settings give reasonable results: = \setuppapersize[A5][A5] \setupalign[line] \setuptolerance[vertical,stretch] \setupinterlinespace[ stretch=0.001

Re: [NTG-context] calculating optimal height of textblock

2021-04-29 Thread denis.maier
, ] % \setupalign[line] % \setuptolerance[vertical,verytolerant,stretch] % \setupinterlinespace[stretch=0.01] \startsetups[mypenalties] \setdefaultpenalties \setpenalties\clubpenalties{2}{0} \setpenalties\widowpenalties{2}{0} \setpenalties

Re: [NTG-context] \setupalign[height] and \setupalign[line] in LMTX

2021-04-28 Thread denis.maier
Ok, after dabbling around a bit more, I can now come up with the following example \setuppapersize[A5][A5] \showframe \setuptolerance[vertical,stretch] %\setupalign[line] %\setupinterlinespace[stretch=0.1] % vertical stretching seems to kick

[NTG-context] Page building and vertical stretching

2021-04-22 Thread denis.maier
? Best, Denis \setuppapersize[A5][A5] \showframe \setupblank[big,flexible] \setupinterlinespace[stretch=0.03] \setuptolerance[vertical,stretch] \setupalign[height] \setuphead [section,subject] [ before={\blank[2*big,flexible

Re: [NTG-context] arbitrary context commands in xml file

2021-03-05 Thread Hans Hagen
] \testpage[3] \looseness=-1 / \looseness=+1 \blank \setuptolerance etc. Now, of course you can define an injector for these commands, some are predefined, like page, column, blank. But, if my understanding is correct, you'd have to define one for each of the possible parameters. So, you'll

Re: [NTG-context] arbitrary context commands in xml file

2021-03-05 Thread denis.maier
\setuptolerance etc. Now, of course you can define an injector for these commands, some are predefined, like page, column, blank. But, if my understanding is correct, you'd have to define one for each of the possible parameters. So, you'll need: \startsetups xml:directive:injector:testpagethree

Re: [NTG-context] Setuptolerance vs setupalign

2021-03-02 Thread Wolfgang Schuster
denis.ma...@ub.unibe.ch schrieb am 02.03.2021 um 11:50: Ok, so this combination will disable tolerant and stretch again? \setuptolerance[tolerant,stretch] \setupalign[hz,hanging] Or will it be preserved? The tolerance settings remain. Wolfgang

Re: [NTG-context] Setuptolerance vs setupalign

2021-03-02 Thread denis.maier
Ok, so this combination will disable tolerant and stretch again? \setuptolerance[tolerant,stretch] \setupalign[hz,hanging] Or will it be preserved? Denis > -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Dienstag, 2. März 2021 11:49 > An: mailing list for ConTeXt u

Re: [NTG-context] Setuptolerance vs setupalign

2021-03-02 Thread Hans Hagen
On 3/2/2021 11:40 AM, denis.ma...@ub.unibe.ch wrote: Hi, I’ve just noticed that it’s possible to do \setupalign [tolerant,stretch] and \setuptolerance [tolerant,stretch] Are these equivalent? Will this here have the desired effect? \setuptolerance[tolerant,stretch] \setupalign[hz,hanging

[NTG-context] Setuptolerance vs setupalign

2021-03-02 Thread denis.maier
Hi, I've just noticed that it's possible to do \setupalign [tolerant,stretch] and \setuptolerance [tolerant,stretch] Are these equivalent? Will this here have the desired effect? \setuptolerance[tolerant,stretch] \setupalign[hz,hanging] Or will \setupalign overwrite the tolerance settings

Re: [NTG-context] Issue with text running into footnotes

2019-11-09 Thread Otared Kavian
w.dropbox.com/s/o9h0j6i21emyw2v/footnote-issue.pdf?dl=0 >>> the issue is shown in the real case. >>> [...] >> >> You can increase the vertical tolerance, e.g. >> >> \setuptolerance[vertical,verytolerant] > > Hi Wolfgang, > > I have a much w

Re: [NTG-context] Issue with text running into footnotes

2019-11-09 Thread Pablo Rodriguez
o exhibit a minimal example where the issue appears. In the link >> https://www.dropbox.com/s/o9h0j6i21emyw2v/footnote-issue.pdf?dl=0 >> the issue is shown in the real case. >> [...] > > You can increase the vertical tolerance, e.g. > >     \setuptolerance[vertical,ver

Re: [NTG-context] Issue with text running into footnotes

2019-11-04 Thread Wolfgang Schuster
lecture notes I have very few of them. Is there a way to prevent such conflicts between footnotes and the last lines of text on a page? You can increase the vertical tolerance, e.g.     \setuptolerance[vertical,verytolerant] change the penalty settings or use a bigger whitespace between

Re: [NTG-context] Overfull hbox issues: different font,

2019-09-04 Thread Wolfgang Schuster
nicht verhindert.} \setuptolerance[verytolerant] or \setupalign[verytolerant] \starttext \language[de] \section{Standard Font} \subsection{German} \language[de] \printExample{} \subsection{English} \language[en] \printExample{} \switchtobodyfont[arialFamily

[NTG-context] white space after a float in a column

2019-08-10 Thread Sytse knyps...@home.nl
\setuptolerance[verytolerant,stretch]
 \setupframedtexts[frame=on,corner=round,width=local] 
\setuplayout[grid=yes]
 \starttext
 \startcolumnset[Two]
 \input knuth \par 
 \placeintermezzo[bottom][]{}
 \startframedtext
 \input tufte \par
 \stopframedtext

Re: [NTG-context] Graphics placement with columnsets/page grids (was "no subject)

2019-07-28 Thread Denis Maier
latino] >> >> \setuphead[section][style=\bfa\ss] >> >> \setuplayout >> [grid=yes] >> >> \setuplayout >> [backspace=20mm, >> cutspace=15mm, >> width=middle, >> height=middle] >> >> \setupsystem >> [random=1234] >> >&

[NTG-context] Graphics placement with columnsets/page grids (was "no subject)

2019-07-24 Thread Denis Maier
> [grid=yes] > > \setuplayout > [backspace=20mm, > cutspace=15mm, > width=middle, > height=middle] > > \setupsystem > [random=1234] > > \setuppagenumbering [ > alternative=, > location=, > ] > > \setupfootertexts > [Laubblatt 2019/1] [{\externalf

[NTG-context] (no subject)

2019-07-23 Thread Denis Maier
] \setuplayout [grid=yes] \setuplayout [backspace=20mm, cutspace=15mm, width=middle, height=middle] \setupsystem [random=1234] \setuppagenumbering [ alternative=, location=, ] \setupfootertexts [Laubblatt 2019/1] [{\externalfigure[cow][height=15mm]}] \setupfooter [style=\ss] \setuptolerance

Re: [NTG-context] background color, was: CMYK Color profile

2019-06-02 Thread Benjamin Koppe
paperwidth-2\measured{big}\relax] > > \definelayout > [fifthandsixth] > [first] > [backspace=\measure{big}, > width=\dimexpr\paperwidth-2\measured{big}\relax] > > %% We assign the layouts to the pages. > \definelayout [1] [first] > \definelayout [2] [second] &

Re: [NTG-context] background color, was: CMYK Color profile

2019-05-31 Thread Benjamin Koppe
] \definelayout [3] [thirdandfourth] \definelayout [4] [thirdandfourth] \definelayout [5] [fifthandsixth] \definelayout [6] [fifthandsixth] %% Some setups \setupmakeup [doublesided=no] \setuptolerance [verytolerant] %% We want to see page and layout borders. %% COMMENT THIS OUT BEFORE YOU PRINT

[NTG-context] DIN lang folder with crop marks

2019-04-10 Thread Benjamin Koppe
[6] [fifthandsixth] %% Some setups \setupmakeup [doublesided=no] \setupbodyfont [mainface,10pt] \setuptolerance [verytolerant] \setuplayout[marking=color] %% We want to see page and layout borders. %% COMMENT THIS OUT BEFORE YOU PRINT! \showframe \starttext \starttitle[title={First page

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-24 Thread Jan U. Hasecke
tupbodyfont [mainface,10pt] \setuptolerance [verytolerant] \mainlanguage [de] \setbreakpoints[compound] \definelayer[Hintergrund] [x=0, y=0, width=\paperwidth, height=\paperwidth] \setlayer[Hintergrund] [x=1.2cm, y=1cm] {\externalfigure[../bilder/logo.pdf][width=7cm]} \definelayer[topic1] [x=-3mm,

Re: [NTG-context] Issues with hyphenation with latest beta 2018.09.12

2018-09-12 Thread Rik Kabel
. No hyphenation in ragged right text with no change in setup-- I use: \setuptolerance[horizontal,verystrict] \setupalign[flushleft,hanging,nohz,hyphenated,morehyphenation,height] Oddly, I do see hyphenation in one place where I have overridden the default via \startexceptions. -- Rik

Re: [NTG-context] Horizontal line after text in an environment

2018-04-26 Thread Fabrice Couvreur
t height, the horizontal >> line is well below the figure. However when the height of text is not >> sufficient, the position of the line is not correct and I would like it >> also below the figure. >> > > \flushsidefloats > >> Thanks >> Fabric

Re: [NTG-context] Horizontal line after text in an environment

2018-04-25 Thread Hans Hagen
. \flushsidefloats Thanks Fabrice \setuptolerance[stretch,verytolerant] \useMPlibrary[dum] \define[1]\ProprieteHeadcommand   {\textrule[top]{#1}} \defineenumeration   [propriete]   [text=Propriété,    title=yes,    headstyle={bold},    style=italic,    headcommand=\ProprieteHeadcommand

[NTG-context] Horizontal line after text in an environment

2018-04-25 Thread Fabrice Couvreur
Hello, In this environment, when the text has sufficient height, the horizontal line is well below the figure. However when the height of text is not sufficient, the position of the line is not correct and I would like it also below the figure. Thanks Fabrice \setuptolerance[stretch,verytolerant

Re: [NTG-context] Text overflowing on a figure included in a float

2018-04-09 Thread Fabrice Couvreur
> \mainlanguage[fr] > > or increasing the tolerance: > > % \setuptolerance[stretch,verytolerant] > > > Thank you >> Fabrice >> >> >> \usemodule[pgfplots] >> >> \pgfplotsset{compat=newest} >> >> \starttext >> \placefigure[right,none]{}{ &

Re: [NTG-context] Text overflowing on a figure included in a float

2018-04-08 Thread Hans Hagen
the tolerance: % \setuptolerance[stretch,verytolerant] Thank you Fabrice \usemodule[pgfplots] \pgfplotsset{compat=newest} \starttext \placefigure[right,none]{}{ \hbox{\framed{\switchtobodyfont[8pt] \starttikzpicture[/pgf/declare function={g(\x)=3*\x +7;},/pgf/declare function={f(\x)=-4*\x +1

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-23 Thread Jean-Pierre Delange
ote#1#2{#1\cNote{#1] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign[hz, hanging] \setuptolerance[strict] \setupnotes[spacebefore=4*line] \setupnotes[spaceinbetween=] % \setuplinenumbering[step=5, location=inright, distance=1ex,align=center, width=0.5em] \definemargin

Re: [NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-22 Thread Hans Hagen
ote{#1] #2}} \def\CNote#1#2{#1\cNote{#1] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign[hz, hanging] \setuptolerance[strict] \setupnotes[spacebefore=4*line] \setupnotes[spaceinbetween=] % \setuplinenumbering[step=5, location=inright, distance=1ex,align=center, w

[NTG-context] TwoColumns in two different languages, with alternate text on even and odd page.

2016-11-18 Thread Jean-Pierre Delange
] \def\ANote#1#2{#1\aNote{#1] #2}} \def\BNote#1#2{#1\bNote{#1] #2}} \def\CNote#1#2{#1\cNote{#1] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign[hz, hanging] \setuptolerance[strict] \setuplinenumbering[step=5, location=inright, distance=1ex, align=center, w

Re: [NTG-context] Wrtiting in two languages

2016-11-18 Thread Jean-Pierre Delange
have to set protrusion parameters and the text width - Attention ! There is no heritage from paragraph to another paragraph \setupalign[hz,hanging] % If the tolerance setting is 'verystrict', then you can get some issue in the Greek printing \setuptolerance[strict] % Here you set 2 columns and thei

Re: [NTG-context] Wrtiting in two languages

2016-11-15 Thread Jean-Pierre Delange
[mainface] % You have to set protrusion parameters and the text width - Attention ! There is no heritage from paragraph to another paragraph \setupalign[hz,hanging] % If the tolerance setting is 'verystrict', then you can get some issue in the Greek printing \setuptolerance[strict] % Here you set 2

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-12 Thread Jean-Pierre Delange
p stretching tolerance... \setuptolerance[verytolerant,stretch] \setupcolors[state=start] % The elements of the letterhead are defined as layers. This first layer % contains the logo; you'll have to supply an image file yourself. \definelayer[logo_layer] \setlayer[logo_layer][preset=lefttop,y=.01\paperh

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-20 Thread Jean-Pierre Delange
nelinenote[dNote][paragraph=yes] \def\ANote#1#2{#1\aNote{#1] #2}} \def\BNote#1#2{#1\bNote{#1] #2}} \def\CNote#1#2{#1\cNote{#1] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign[hz, hanging] \setuptolerance[strict] \setuplinenumbering[step=5, location=inright, di

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-16 Thread Jean-Pierre Delange
note[aNote] \definelinenote[bNote][n=2] \definelinenote[cNote][n=3] \definelinenote[dNote][paragraph=yes] \def\ANote#1#2{#1\aNote{#1] #2}} \def\BNote#1#2{#1\bNote{#1] #2}} \def\CNote#1#2{#1\cNote{#1] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-16 Thread Pablo Rodriguez
}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign[hz, hanging] \setuptolerance[strict] \setuplinenumbering[step=5, location=inright, distance=1ex, align=center, width=0.5em] \definemargindata[Stephanus][location=inner, distance=2ex, style=\em] \setupbodyfont[mainfac

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-16 Thread Jean-Pierre Delange
[mainface] [serif] [GFS Didot] [preset=range:greek] \definefontfamily [mainface] [serif] [TeX Gyre Pagella] \setuplayout[header=2cm, footer=2cm] \setupnotes[compress=yes] \setupnotations[alternative=serried] \definelinenote[aNote] \definelinenote[bNote][n=2] \define

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-16 Thread Jean-Pierre Delange
] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign[hz, hanging] \setuptolerance[strict] \setuplinenumbering[step=5, location=inright, distance=1ex, align=center, width=0.5em] \definemargindata[Stephanus][location=inner, distance=2ex, style=\em] \setupbodyfont[mainface, 7

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-15 Thread Pablo Rodriguez
e[cNote][n=3] \definelinenote[dNote][paragraph=yes] \def\ANote#1#2{#1\aNote{#1] #2}} \def\BNote#1#2{#1\bNote{#1] #2}} \def\CNote#1#2{#1\cNote{#1] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign[hz, hanging] \setuptolerance[strict] \setuplinenumbering[step=5, location=i

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-15 Thread Jean-Pierre Delange
=serried] \definelinenote[aNote] \definelinenote[bNote][n=2] \definelinenote[cNote][n=3] \definelinenote[dNote][paragraph=yes] \def\ANote#1#2{#1\aNote{#1] #2}} \def\BNote#1#2{#1\bNote{#1] #2}} \def\CNote#1#2{#1\cNote{#1] #2}} \def\DNote#1#2{#1\dNote{#1] #2}} \setupalign[hz, hanging] \setuptolerance[strict

[NTG-context] some difficulties with btxlist

2016-04-24 Thread Thomas A. Schmitz
that cannot be avoided; for these cases, I have added \setuptolerance[verytolerant,stretch] and expected to see no lines extending into the margin (at the cost of some ugliness). But there are still some overfull lines. Does the list have its own tolerance setting somewhere? Thanks, and best Thomas

Re: [NTG-context] A document composed only of TEXpages

2016-03-04 Thread Hans Hagen
] \startsetups[myTEXpagesetup] \setupwhitespace[line] \setuptolerance[space] \stopsetups \setupfittingpage[TEXpage] [command=\texsetup{myTEXpagesetup}, height=fit, width=210mm, offset=10mm] \starttext \startTEXpage \startsection[title={My Section}] \placecontent \stopTEXpage

[NTG-context] A document composed only of TEXpages

2016-03-04 Thread Chicho Pep
]. Here is my document: *** \setupinteraction[state=start] \startsetups[myTEXpagesetup] \setupwhitespace[line] \setuptolerance[space] \stopsetups \setupfittingpage[TEXpage] [command=\texsetup{myTEXpagesetup}, height=fit, width=210mm, offset=10mm] \starttext \startTEXpage

[NTG-context] Floating split TABLE misaligned

2016-02-05 Thread Andreas Schneider
[column][last][width=broad] \setupTABLE[row][first][style=bold] \setupTABLE[offset=.2em] \setupwhitespace[medium] \setuptolerance[verytolerant] \starttext \dorecurse{2}{\input knuth\par} \placetable[here,split][]{Test}{ \bTABLE \bTABLEhead \bTR \bTD Col1 \eTD \bTD Col2 \eTD \eTR

Re: [NTG-context] Overfull boxes using m-cweb

2016-01-26 Thread Ibn Saeed
Hans Hagen wxs.nl> writes: > it may be a result of many unbreakable (key)words, so in that case try: > > \setuptolerance[verytolerant,stretch] > > Hans > Thanks Hans, I was having some issue with overfull boxe in one paragraph, i applied your command an

Re: [NTG-context] Troubles with presentations

2015-10-14 Thread Otared Kavian
--- > > \usemodule[pre-original] > \usemodule[rsteps] > \usemodule[pre-60] > > \setuppapersize[S6][S6] > \setuppagenumbering[state=stop] > \setuptolerance[verytolerant,stretch] > \setupinteractionscreen[option=max] > \setupinteraction[state=start,colo

[NTG-context] Troubles with presentations

2015-10-06 Thread Tomas Hala
st minimal example: \usemodule[pre-original] \usemodule[rsteps] \usemodule[pre-60] \setuppapersize[S6][S6] \setuppagenumbering[state=stop] \setuptolerance[verytolerant,stretch] \setupinteractionscreen[option=max] \setupinteraction[state=start,color=middlered] \useURL [ga

Re: [NTG-context] Small problems with my columns

2015-07-30 Thread Wolfgang Schuster
Fabrice Couvreur mailto:fabrice1.couvr...@gmail.com 30. Juli 2015 19:37 Hi, In the code below, how to make the line hyphenation is in the first column and not in the second. You can add \setuptolerance[verytolerant] to give ConTeXt more freedom where it breaks the lines. Wolfgang

Re: [NTG-context] Line wrapping inconsistency with tolerance, alignment and framed

2015-07-24 Thread Hans Hagen
within and without a framed consistently? Any insight is welcome. alignment settings are local in a framed (and similar cases) \defineframed[myframe][align={flushleft,horizontal,stretch,verytolerant},frame=off,offset=overlay] Christoph MWE: \setuptolerance[horizontal,stretch,verytolerant

[NTG-context] Line wrapping inconsistency with tolerance, alignment and framed

2015-06-18 Thread Christoph Reller
insight is welcome. Christoph MWE: \setuptolerance[horizontal,stretch,verytolerant] \defineframed[myframe][align=flushleft,frame=off,offset=0pt] \starttext \def\super{supercalifragilisticexpialidoc} \startalignment[flushleft] \unhyphenated{\super\ + \super\ + \super\ + \super} \stopalignment

Re: [NTG-context] Line wrapping inconsistency with tolerance, alignment and framed

2015-06-18 Thread Wolfgang Schuster
before breaking the line within and without a framed consistently? Any insight is welcome. Christoph MWE: \setuptolerance[horizontal,stretch,verytolerant] \defineframed[myframe][align=flushleft,frame=off,offset=0pt] \starttext \def\super{supercalifragilisticexpialidoc} \startalignment[flushleft

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
] \noheaderandfooterlines \blank[force,2*big] \stopsetups \startsetups chapter:after \blank[3*big] \stopsetups % Mark TODO items in the text \def\todo#1{{\red --- --- --- TODO: {#1} --- --- ---}} % \setuptolerance[horizontal=strict] \setupcolors[state=start] \setupcolor[rgb] % \setupquote[style=small

Re: [NTG-context] automatic generation of em dash at the beginning of a line

2015-03-02 Thread Alan BRASLAU
}{\emdash}{\emdash}\nbsp} \setuplayout[width=21mm] \setuplayout[width=24mm] \setuptolerance[verytolerant] \showframe test test \LEFT a test and some more test\RIGHT\ test test \stoptext All Best Piotr 2015-03-01 17:58 GMT+01:00 Hans Hagen pra...@wxs.nl: On 3/1/2015 5

Re: [NTG-context] automatic generation of em dash at the beginning of a line

2015-03-02 Thread Hans Hagen
} \setuplayout[width=21mm] \setuplayout[width=24mm] \setuptolerance[verytolerant] \showframe test test \LEFT a test and some more test\RIGHT\ test test \stoptext All Best Piotr 2015-03-01 17:58 GMT+01:00 Hans Hagen pra...@wxs.nl: On 3/1/2015 5:41 PM, Piotr Kopszak wrote: Hello list, This is probably

[NTG-context] Why is my output body text in 15pt?

2014-07-23 Thread Gerben Wierda
\getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right] \noheaderandfooterlines \blank[force,2*big] \stopsetups \startsetups chapter:after \blank[3*big] \stopsetups \setuptolerance[horizontal=strict] \setupcolors[state=start

Re: [NTG-context] example of better linebreak with 2014.05.17 compared to 2014.07.07

2014-07-10 Thread Hans Hagen
is reasonable. According to the plane's technical documentation, the 747-400's four engines together can provide roughly 1~meganewton of thrust. \stoptext fyi: \setupbackend[space=yes] can help you around the wrong threshold for spaces in your viewer. \setuptolerance[tolerant] makes the paragraph

[NTG-context] Protrusion with compound word hyphenation (||)

2014-07-01 Thread Rik Kabel
] [protrusion=quality] \setupalign[hanging] \setuptolerance[horizontal,strict] \setuphyphenmark [sign=small] \showframe [text] [text] \starttext \dorecurse{21}{Multisyllabic||words||separated||by||hyphens. } \stoptext Is this expected behavior? Can it be changed

Re: [NTG-context] Protrusion with compound word hyphenation (||)

2014-07-01 Thread Wolfgang Schuster
): \setuppapersize[monarch] \definefontfeature [default] [protrusion=quality] \setupalign[hanging] \setuptolerance[horizontal,strict] \setuphyphenmark [sign=small] \showframe [text] [text] \starttext \dorecurse{21}{Multisyllabic||words||separated||by||hyphens

[NTG-context] Problem with pdf output for FeedARead.com

2014-04-15 Thread Keith McKay
] \setupexternalfigures[location={local,default}] \setupalign[nonhyphenated] \setuphead[section-3][number=no,align=middle][alternative=doublesided,location=footer] \setuptolerance[vertical,verystrict] \setuptolerance[horizontal,verytolerant] \starttext \midaligned{\tfd{Title Page}} \page FeedAReed blurb

[NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
, hanging}] \starttext Hello One \start \setuptolerance[strict] \startregister[index][two]{two} Hello Two This is \footnote{ \parfillskip 14pt plus 1 fill Footnote \index{content}content. }\par\stop % this brace is reported as unexpected character here \stopregister[index][two] \page \placeindex

Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Hans Hagen
, yes] \setupnotation[footnote][align={hz, hanging}] \starttext Hello One \start \setuptolerance[strict] \startregister[index][two]{two} Hello Two This is \footnote{ \parfillskip 14pt plus 1 fill Footnote \index{content}content. }\par\stop % this brace is reported as unexpected character here

Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
, yes] \setupnotation[footnote][align={hz, hanging}] \starttext Hello One \start \setuptolerance[strict] \startregister[index][two]{two} Hello Two This is \footnote{ \parfillskip 14pt plus 1 fill Footnote \index{content}content. }\par\stop % this brace is reported as unexpected

Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
: \setupalign[hz, hanging] \setupindenting[medium, yes] \setupnotation[footnote][align={hz, hanging}] \starttext Hello One \start \setuptolerance[strict] \startregister[index][two]{two} Hello Two This is \footnote{ \parfillskip 14pt plus 1 fill Footnote \index{content}content

[NTG-context] Various setuptolerance settings within a single document

2014-02-19 Thread Jan Tosovsky
Dear All, I'd like to apply 'verystrict' tolerance as a default value, which would be overridden by less strict values in several specific paragraphs with tricky word combinations causing problems when hyphenating. But when \setuptolerance command is used multiple times, the last one seems

Re: [NTG-context] Various setuptolerance settings within a single document

2014-02-19 Thread Wolfgang Schuster
. But when \setuptolerance command is used multiple times, the last one seems to be active only from that place on. When settings is wrapped by \start \stop commands, it seems to be ignored: \start \setuptolerance[tolerant] %text \stop Is there any way how to achieve this or do I have to use

Re: [NTG-context] Various setuptolerance settings within a single document

2014-02-19 Thread Jan Tosovsky
to be ignored: \start \setuptolerance[tolerant] %text \stop Can you try to end the paragraph before the \stop with a empty line or the \par command. Wow! Ending that block with \par\stop does the job! Thanks a lot for this hint! Jan

[NTG-context] \completecontent affects text height

2014-02-18 Thread Thangalin
can this be resolved? Second question: How would you remove the white space above each subsection title so that the title is aligned to the top of its column? Third question: How would you prevent widowing of subsection titles from their content? I tried ntop=2 and \setuptolerance[tolerant

Re: [NTG-context] Centering the last line in combination subcaptions

2014-02-07 Thread Jan Tosovsky
\startplacefigure[location=page, number=no, title={}] %\setupcombinations[align={hz, hanging}] %\setuptolerance[strict] {\startcombination[1*2] {\externalfigure[cow]} {\input{ward}} {\externalfigure[cow]} {\input{ward}} \stopcombination} \stopplacefigure \stoptext

[NTG-context] Centering the last line in combination subcaptions

2013-12-27 Thread Jan Tosovsky
=page, number=no, title={}] %\setupcombinations[align={hz, hanging}] %\setuptolerance[strict] {\startcombination[1*2] {\externalfigure[cow]} {\input{ward}} {\externalfigure[cow]} {\input{ward}} \stopcombination} \stopplacefigure \stoptext If captions are long and the image narrow

Re: [NTG-context] a way to implement \testcolumn in mixedcolumns

2013-12-03 Thread Lars Huttar
On 11/28/2013 1:34 PM, Hans Hagen wrote: That macro was never meant for mixed columns. I made a variant that works ok in mixed columns which will be in the next beta. \setuptolerance[verytolerant] \starttext \startmixedcolumns \dorecurse{4}{\input ward \par} \testcolumn[10

Re: [NTG-context] a way to implement \testcolumn in mixedcolumns

2013-12-03 Thread Hans Hagen
On 12/3/2013 3:10 PM, Lars Huttar wrote: On 11/28/2013 1:34 PM, Hans Hagen wrote: That macro was never meant for mixed columns. I made a variant that works ok in mixed columns which will be in the next beta. \setuptolerance[verytolerant] \starttext \startmixedcolumns \dorecurse{4

Re: [NTG-context] a way to implement \testcolumn in mixedcolumns

2013-11-28 Thread Hans Hagen
made a variant that works ok in mixed columns which will be in the next beta. \setuptolerance[verytolerant] \starttext \startmixedcolumns \dorecurse{4}{\input ward \par} \testcolumn[10][-1pt] % 10 lines - 1pt slack \dorecurse{2}{\input ward \par} \stopmixedcolumns \stoptext

Re: [NTG-context] Paragraph - the last line handling

2013-11-23 Thread Hans Hagen
x (2) xx (3) xx xx I use the following setup now: \setupalign[hz, hanging] \setuptolerance[verystrict] % even 'strict' doesn't help here \setupindenting[medium, yes] Any idea? \hsize 15.4cm \input tufte

[NTG-context] Paragraph - the last line handling

2013-11-22 Thread Jan Tosovsky
(3) xx xx I use the following setup now: \setupalign[hz, hanging] \setuptolerance[verystrict] % even 'strict' doesn't help here \setupindenting[medium, yes] Any idea? Thanks, Jan

Re: [NTG-context] Find all words set into the margin

2013-09-30 Thread john Culleton
On Mon, 26 Nov 2012 13:52:52 +0100 H. Özoguz h.oezo...@mmnetz.de wrote: I use \definefontfeature[default][default][expansion=quality,protrusion=quality] \setupalign[hz,hanging] \usetypescript[times] \setupbodyfont[times,11pt] \setuptolerance[verystrict] Is there a command

[NTG-context] tabulate and tolerance

2013-09-26 Thread Peter Münster
Hi, It seems, that tabulate does not use the tolerance setting: --8---cut here---start-8--- \setbreakpoints[compound] \setuptolerance[stretch] \starttext \starttabulate[|p(1cm)|l|] \NC bla-blabla-bla \NC XXX \NC \NR \stoptabulate \hsize1cm bla-blabla-bla

Re: [NTG-context] tabulate and tolerance

2013-09-26 Thread Wolfgang Schuster
Am 26.09.2013 um 21:33 schrieb Peter Münster pmli...@free.fr: Hi, It seems, that tabulate does not use the tolerance setting: --8---cut here---start-8--- \setbreakpoints[compound] \setuptolerance[stretch] \starttext \starttabulate[|p(1cm)|l|] \NC

[NTG-context] question concerning \setupalign \setuptolerance

2013-08-30 Thread Christian Prim
Dear list is there a way to \setupalign and \setuptolerance globaly? In tabulate- or frameenvironement for example they are reseted. MWE: \definefontfeature[default][default][expansion=quality,protrusion=quality] \usetypescript[palatino] \setupbodyfont[palatino,11pt] \setupbodyfontenvironment

Re: [NTG-context] question concerning \setupalign \setuptolerance

2013-08-30 Thread Wolfgang Schuster
Am 30.08.2013 um 14:23 schrieb Christian Prim christian.p...@gmx.ch: Dear list is there a way to \setupalign and \setuptolerance globaly? In tabulate- or frameenvironement for example they are reseted. Environments which have a align key use the settings of the key and ignore global

Re: [NTG-context] question concerning \setupalign \setuptolerance

2013-08-30 Thread Wolfgang Schuster
. My new questions: - What about tolerance? Where must I add the keys? The \setupalign command does also accepts “tolerant”, “verytolerant” and “stretch” as keyword which means you don’t need the \setuptolerance command. This is important because the value of the align key is passed

  1   2   3   >